![]() It is an excellent learning platform that is ideal for school and university students. The features are less advanced and aimed at beginners but this means you can focus more on the code itself. Everything they teach is officially approved. Everything you need to learn and focus on is integrated. It also includes some nice debugging tools so you can practice. For those just starting out this is a very efficient tool.ĭownload and set-up are very fast and you will be writing Java programs in seconds. It even includes a pdf instruction booklet which helps you grip the basics and has all the info you need. It is user-friendly and the interface is so simple to use. If you want to learn better how to use develop Java programs then this is the best option out there. It allows you to see how objects are created and is excellent for students to see what’s in the memory. WordCount - Program that compares counting words in files using an ArrayList and a Map.BlueJ includes graphic and text editing and a built-in editor, among other great features. SimpleWordCount - Program demonstrating use of a map to count the frequency of words in a file. Note you need a lot of other files for this to work. UnsortedSetTest - A method to compare Java's TreeSet and HashSet to the BianrySearchTree, UnsortedSet, and UnsortedHashSet classes developed in class. Currently only the add method is implemented. UnsortedHashSet - An unsorted set that uses a hashtable with closed address hashing to store values. Also implements the iterator remove method in O(N) time. Does not contain all the methods you would expect of a LinkedList. Similar to the LinkedList developed in class. A singly linked node class used to build linked lists ![]() Changed GenericList so it is generic based on Java generics syntax instead of relying on Object. Changed the GenericList class so that it implements the Iterable interface in order to demonstrate how to implement an iterator using an inner class. Here is a sample input file.Īnother example of recursion from the game minesweeper. Determine if airlines can be moved from airline to another based on network of airline partners. Note the queensAreSafe method has not been completed.Īirlines example. Code to find a a solution to an N queens problem. Power, recursive Fibonacci numbers, and a simple knapsack problem.Įight Queens example. Including all files in all subdirectories, recursive factorial, recursive Includes examples on finding space taken up by files in a directory A method that using polymorphism to create a set from an array.Įxamples. Measuring how long it takes for a program to run.Ĭreate a Set. instance methods, and method overloading. Mechanics such as constructors, static vs. This illustrates some of the more confusing concepts in class syntax and Altered the list to store anything, not just ints. Class is "broken" because random insertions still allowed. Inherits from InListVer3 to create a SortedIntList. Includes versions of toString using String concatenation and StringBuffer to illustarte performance differences. IntListVer2 Added default add method, equals method, and toString methods. Developing class to illustrate various class design and implementation issues in Java. IntListVer1 First version of the IntList class developed in class. The CIA 2008 Factbook may be downloaded from Project Gutenberg. Program to create ASCII frequency table from file and url. Reading ints from file with Scanner classĬonnecting to and reading from a web page. Getting input from Keyboard with Scanner class Very simple version of the Conway's Game of Life. A simplified version of filtering a picture represented by ints.ĢD array example. You need the Stopwatch class, a non standard Java class, as well.Įxample. PrimeEx A program with various approaches to determine if an int is prime or not. A program with examples of various Java syntax that converts a base 10 int to base 2 String. ![]() A few brief examples of String manipulations.īinar圜onverter. Parameters: An example that shows the behavior of value parameters. A sample of how to call methods in the same class.Ī simple example of using for loops to calculate factorial. Various Java programs to illustrate various concepts ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |