-
Void keyword and void method
void keyword: Void keyword is used with the method declaration to specify that this particular method is not going to return any value after completing its execution. We can’t assign the return type of a void method to any variable because void is not a data type. void method: Look at the following program that demonstrate how a method is…
-
static and non-static variable
static variable: If you declare any variable as static, it is known as a static variable. Advantages of static variable: It makes your program memory efficient (i.e., it saves memory). Non -static variable: A non-static variable is initialized every time a new instance of its class is created, and as such there can be multiple copies of…
-
clickjacking
What is clickjacking ? Clickjacking is an attack that tricks a user into clicking a webpage element which is invisible or disguised as another element. This can cause users to unwittingly download malware, visit malicious web pages, provide credentials or sensitive information, transfer money, or purchase products online. Typically, clickjacking is performed by displaying an…
-
HTML tags and it’s output
Tags: Open tag and close tag: open tag close tag syntax type <Head> </Head> <Head> <title> </Head> <body> </body> <body> content </body> <p> </p> <p> content </p> <li> </li> unordered list<ul><li> content </li> ordered list<ol><li> content </li> <em> </em> <em> content </em> <strong> <strong> <strong> content </strong> <u> </u> <u> content </u> <dt><dd> </dt></dd> descriptive…
-
Object oriented programming
What is OOPS? Object-Oriented Programming System (OOPs) is a programming concept that works on the principles of abstraction, encapsulation, inheritance, and polymorphism. It allows users to create objects they want and create methods to handle those objects. The basic concept of OOPs is to create objects, re-use them throughout the program, and manipulate these objects to…
-
Object creation and call a method
Overview: In this blog about creating and object, call a method and Method Parameters. Creating an Object: An object is created from a class. In Java, the new keyword is used to create new objects. There are three steps when creating an object from a class − Call a Method: To call a method in…
-
Variables,datatype and primitive data type
Overview: Let discuss about variables and it’s types,data types and it’s type.Primitive data type Variables: A variable is a container which holds the value while the user executed. A variable is assigned with a data type. Variable is a name of memory location. That is variable is the name of a reserved area allocated in memory.…
-
object and class
Overview: Let us discuss about object, class in java and the errors of program. What is an Object in Java? The following concepts of the java objects: What is class? A class is a user defined blueprint or prototype or template from which objects are created. It represents the set of properties or methods that…
-
Java and its features
Overview: let us disscuss about java language,features and its disadvantage. What is Java? Java is a general-purpose, class-based, object-oriented programming language designed for having lesser implementation dependencies. It is a computing platform for application development. Java is fast, secure, and reliable, therefore. It is widely used for developing Java applications in laptops, data centers, game consoles,…
-
About My Mobile & Laptop
The Power of the Processor: The processor, also known as the CPU, provides the instructions and processing power the computer needs to do its work. The more powerful and updated your processor, the faster your computer can complete its tasks.By getting a more powerful processor, you can help your computer think and work faster. GHz…