Introduction of Classes, objects and methods
A Class is a container that combines data members and method within a single unit knows as class It is a template for creating new User defined data type It defines aRead More…
A Class is a container that combines data members and method within a single unit knows as class It is a template for creating new User defined data type It defines aRead More…
Delete command is used to delete records from the database table. We must have to use WHERE clause with the DELETE command. If DELETE command is given without WHERE clause, it willRead More…
SELECT Select command is used to fetch records from the database table and display on the screen. Syntax: SELECT*FROM <table_name>; Example: SELECT * FROM student; It will display all the records fromRead More…
Insert command is used to insert records into the database table. Syntax: INSERT INTO <table_name> VALUES(val1,val2, val3,…,valN); Example: INSERT INTO student VALUES(1,’ABC’,’Ahmedabad’); It can be helpful for inserting record for all theRead More…
CREATE TABLE command is used to create a database table. Syntax: CREATE TABLE <table_name>( <column1><datatype> (size), <column2><datatype> (size),… <column N><datatype> (size)); Example: CREATE TABLE student( std_no number(3), std_namevarchar2(10), Cityvarchar2(10)); Where, table_name isRead More…
A client server architecture is an arrangement of computer in which different computer are connected with a single pc. It is a one type of network. A central PC to whom otherRead More…
Sometimes we need to pass arguments with main () function We can do so by using command-line arguments Command-line argument is the information that is passed with program name while running theRead More…
Java provides IF conditional statements for executing statements based on some condition It can be used to take decision and follow certain execution path conditionally It has the following form: ifRead More…
An array is a collection of similar data types that share a common name. Arrays of any type can be created and may have one or more dimensions. Array elements can beRead More…
An operator is a symbol that tells the computer to perform certain mathematical or logical calculations. Operators are used in programs to manipulate data and variables. Java provides the following operators: ArithmeticRead More…