Syntux Hub
Hey fellas is java giving ya trouble ?
You should try this out then if so........................!
Java Introduction
The fundamental elements of Java. Source Code. Class files. The Java Runtime Environment. The Java World. Java development environments and tools. Java Runtime Environments. Java distributions. Java standard packages. Java versions.
You may download (.pdf) or link to source index
Hello Java World
A first program explained. Methods and classes. Blocks and statement structure. Declaring classes and methods. Within a statement. Reserved words. Commenting your source. The code in operation. A further program.
You may download (.pdf) or link to source index
Variables
First use of variables in Java. Variable names. Declaring and initialising variables. Primitive types. Type casting and conversion. Reading input from the user.
You may download (.pdf) or link to source index
Loops and Conditional Statements
Booleans. "if" statement. "while" loop. "for" loop. Labels and breaks.
You may download (.pdf) or link to source index
Arrays
Definition and declaration. Use. Array manipulation and replacement. Multidimensional arrays. Arrays of Objects.
You may download (.pdf) or link to source index
Objects and Classes
Using an instance of a class. Some detail of using an object. Writing your own class. Enhancements to the basic class structure. Class or static methods. Direct variable access. this. Overloading. An example. Naming conventions. Alternative:.
You may download (.pdf) or link to source index
Strings
Character variables. String constants. Creating String objects. Operations on strings. Comparing strings. Accessing characters within strings. Character arrays v String objects. String buffers.
You may download (.pdf) or link to source index
Packages
Overview. Package directory structure. Importing classes from a package. Introduction to standard packages.
You may download (.pdf) or link to source index
Class Access
Private, public, protected. Inner classes. "finalize" method.
You may download (.pdf) or link to source index
Extending Classes and More
Extended classes. Encapsulation. Alternative exercise. Abstract Classes. Getting your design right. The universal superclass. Interfaces. The final modifier.
You may download (.pdf) or link to source index
Java in the Web Page
Structure overview. The methods you may and must provide. Including Java in your page: HTML tags. The Abstract Windowing Toolkit.
You may download (.pdf) or link to source index
Exceptions
"trying" and "catching". "throwing". "finally". Defining your own exceptions.
You may download (.pdf) or link to source index
More Input and Output
Overview. The Wellreader class. Input/output from basics. Streams. Writing to a file. Formatted output. Reading from a file.
You may download (.pdf) or link to source index
Fundamental classes
The fundamental packages. java.lang. java.util. Other fundamental packages. Data wrappers. Why use data wrappers?. Other methods on Float objects. Other methods on other data wrapper objects. java.lang.Math. External low-level calls. The System class - miscellaneous features. The System class - garbage collection. The Runtime and Process classes. A word of caution on system classes. Utility objects to hold multiple simple objects. Vectors. Stacks. Hashes. Enumerations. The StringTokenizer. Collections. ArrayLists. HashSets. Iterators and general Collection interfaces. HashMaps. Sorting. Basic sorting in Java. Comparator classes. The Comparable interface.
You may download (.pdf) or link to source index
Putting the Java Language Together
Sample Answer.
You may download (.pdf) or link to source index
Naming Conventions and Code Management
Within a class. Variable Naming. Constant naming. Commenting. Further coding standards. The specification of the interface to a class. Class naming. Method Naming. Instance variable naming. Bean-able and other standards. Grouping together classes into packages. Naming conventions. Imports. The four Ps. Deploying multiple classes. Directories and files. Jars. Accessing shared classes. CLASSPATH and CLASSDIR. Other Virtual Machines.
You may download (.pdf) or link to source index
Serialization
Saving objects to a file.
You may download (.pdf) or link to source index
Internationalization
Local Representations. Unicodes. Resource bundles.
You may download (.pdf) or link to source index
Java Beans
What are beans?. A Java bean is not a class!. Beanboxes. Indexed, bound and constrained properties. Auxiliary classes. Sample Beans. Tools.
You may download (.pdf) or link to source index
Servlets
What is a Servlet?. Running the server. A first servlet. The HTML form. The servlet. Reusing a servlet. Form and results in same window. Interactive form.
You may download (.pdf) or link to source index
Extending Graphics in Java
Background. Simple Swing. Hello Swing World. Using multiple components. Event handling. Feedback from events on individual components. Providing feedback in the GUI. Hello Swing World as an applet. A Complete GUI on an applet. More Complex Swing. The JTree component. The JTable Component.
You may download (.pdf) or link to source index
Servlets in More Detail
Introduction. What is a Servlet?. How do Servlets fit into the scheme of things?. What alternatives are there to servlets?. Servlet Engines. Java Class Structure. Data Interface. A first servlet. Reading from a form. At a higher level. Get v Post. The life of a servlet. Initialisation. Destruction. Example procedure - take an application of ours, modify, re-upload. Maintaining State. Session Objects. Rewriting URLs. Hidden fields. Programming techniques. Webifying output. Keeping code and pages separate. State Diagrams. Other facilities of servlets. Multiuser Servlets. Servlet Descriptions. Cookies. Sessions in Servlets.
You may download (.pdf) or link to source index
JSP - JavaServer Pages
Introduction. A simple worked example. The structure of a JSP Page. What basics can I put in my HTML?. Entering data into a form. What happens to the form data?. What happens next?. Example - form, data validation, initial page and and response in single script. How To Create a Form. A Simple Hello Application. Constructing the HTML Form. Using the GET and POST Methods. Writing the Bean. Getting Data From the Form to the Bean. Checking the Request Object. Getting data from the Bean to the JSP Page. How to run the example. Using scripting elements. How to add scripting. The difference between
21/10/2012
LinkedList Programming Interview Questions
10) How do you find middle element of a linked list in single pass?
Read more: http://javarevisited.blogspot.com/2011/06/top-programming-interview-questions.html
Top 30 Programming questions asked in Interview - Java C C++ Answers Now days every software job has some Programming interview questions and those are very difficult to solve if you are not practicing. this article contains some great programming questions for practice.
Could I get a programming job?
Certainly. There are many C jobs out there and an immense body of code exists that will need updating, maintaining and occasionally rewriting. The top three most popular programming languages according to the quarterly Tiobe.com survey, are Java, C and C++.
You could write your own games but you'll need to be artistic or have an artist friend. You'll also need music and sound effects. Find out more about game development. Games like Quake 2 and 3 were written in C and the code is available free online for you to study and learn from it.
Perhaps a professional 9-5 career would suit you better- read about a professional career or perhaps consider entering the world of software engineering writing software to control nuclear reactors, aircraft, space rockets or for other safety critical areas.
Is C the best programming language?
Some computer languages were written for a specific purpose. Java was originally devised to control toasters, C for programming Operating Systems, Pascal to teach good programming techniques but C was intended to be more like a high level assembly language which could be used to port applications to different computer systems.
There are some tasks that can be done in C but not very easily, for example designing GUI screens for applications. Other languages like Visual Basic, Delphi and more recently C # have GUI design elements built in to them and so are better suited for this type of task. Also some scripting languages that provide extra programmability to applications like MS Word and even Photoshop tend to be done in variants of Basic, not C.
You can find out more about the other computer languages and how they stack up against C.
Click here to claim your Sponsored Listing.
Category
Website
Address
Kampala
256