Knowledge in Java

JavaScript Arrays

JavaScript ArraysJavaScript arrays are used to store multiple values in a single variable.Examplevar cars = ["Saab", "Volvo", "BMW"];What is an Array?An array is a special variable, which can hold more than one value at a time.If you have a list of items (a list of car names, for example), storing the cars in single variables could look like this:var car1 = "Saab";var car2 = "Volvo";var car3 = "BMW";However, what if you want to loop through the cars and find a specific one? And what if you had not 3 cars, but 300?The solution is an array!An array can hold many values under a single name, and you can access the values by referring to an index number.Creating an ArrayUsing an array literal is the easiest way to create a JavaScript Array.Syntax:var array_name = [item1, item2, ...];      Examplevar cars = ["Saab", "Volvo", "BMW"];

JavaScript Date Objects

JavaScript Date ObjectsJavaScript Date OutputBy default, JavaScript will use the browser's time zone and display a date as a full text string:Sat Oct 12 2019 11:20:40 GMT+0530 (India Standard Time)You will learn much more about how to display dates, later in this tutorial.Creating Date ObjectsDate objects are created with the new Date() constructor.There are 4 ways to create a new date object:new Date()new Date(year, month, day, hours, minutes, seconds, milliseconds)new Date(milliseconds)new Date(date string)new Date()new Date() creates a new date object with the current date and time:Examplevar d = new Date();

User Defined Exceptions in Java

This Power Point Presentation is about User Defined Exceptions in Java.

Swings in Java

It explains about Graphical User interface concepts And difference between AWT and SWINGS.

Head First Java

It is the PDF of Head First Java Programming book All the topics are covered in this book it is also considered the best programming book

JAVA QUESTION BANK ONLY QUESTION

This PDF consist of java sample practices questions for computer science students.But this does contain their solution.

An Introduction to Java and Its History - Java Tutorials

This PDF is about An Introduction to Java and Its History - Java Tutorials. This is a part of book by Luliana Cosmina.

Controlling the Flow - Java Tutorials

This PDF is about Controlling the Flow - Java Tutorials . This is a part of book by Luliana Cosmina.

Creating First Project In java - java tutorials

This PDF is about Creating First Project In java - java tutorials. This is a part of book by Luliana Cosmina.

Data Types - java Tutorials

This PDF is about Data Types - java Tutorials. This is a part of book by Luliana Cosmina.

Debugging, Testing, Documenting - Java Tutorials

This PDF is about Debugging, Testing, Documenting - Java Tutorials. This is a part of book by Luliana Cosmina.

Garbage Collection - Java Tutorials

This PDF is about Garbage Collection - Java Tutorials. This is a part of book by Luliana Cosmina.