Category: Programming
it needs java.io package containers .All these streams represent an input source and an output destination. Stream:…
Java provides he Date class available in java.util.*; packages, this class encapsulates the current date & time….
j Java Arrays: double[] myList; //preferred way or double myList[]; //works but not preferred way Creating Arrays:…
Creating strings: String greeting = “Hello World”; public class StringDemo{ public static void main(String[] args) {…
Some escape sequence here : \t,\b,\n,\r,\f,\’,\”,\\ example: public class Escape { public static void main(String[] args) {…
Normally when we work with numbers, we use primitive data types such as byte,int,long,double, etc e.g: int…
Recent Comments