Author: codebun

visual basic program for Addition, Subtraction, Multiplication

Write a Visual Basic program for Addition, Subtraction, Multiplication, and Division of two numbers with examples. Visual Basic program for Addition, Subtraction, Multiplication, and Division of two numbers. Private Sub cmdClear_Click() Text1.Text = “” Text2.Text = “” Text3.Text = “” Text1.SetFocus End Sub Private Sub cmdExit_Click() Unload Me End Sub Private Sub mnuadd_Click() Text3.Text =

Overriding equals method in Java

equals method in Java The equals method in Java is a method of class Object. Used to compare two object or two String literals in Java.It returns boolean true or false. When we need to compare two objects we need to Overriding equals method in Java. Let’s take an example where we are going to

Java tutorial || Overriding toString() method in Java.

toString() method in Java. toString() is a method of Object class. an Object is a superclass of every class in Java. toString() method returns the string representation of the object. Sometimes we need to override toString() method. so the question is that why we need to override the toString() method in Java. Let’s try to

Implicit Objects in JSP with example.

Implicit objects in JSP is created by the web container. There are total 9 implicit objects are available in JSP. objects are available for the complete JSP page. Following are the Implicit Objects in JSP. request Implicit Objects in JSP The request object is an instance of the class which is implements java .servlet.http.HttpServletRequest interface. Created by