-
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. The static variable can be used to refer to the common property of all objects (which is not unique for each object), for example, the company name of employees, college name of students, etc. The static variable gets memory…
-
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: <DOCTYPE> – Document type of HTML <head> – head of document (title) <body> – < !– comments– > – comment tag in HTML <h1>,<h2>,……..,<h6> – size of the font <ul> – unordered list (bullet mark) <ol> – ordered list (numbering mark) <dl> – descriptive list <em> – italic style font <p> – paragraph <strong>…
-
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 − Declaration − A variable declaration with a variable name…
-
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: It is an example of a class. It is a real entity that occupies the memory. An object must have a unique identity An object can have different…
-
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…