Scholarship Wing - The Scholarship Support System

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB9j2UBxkCsDjsu7MKporeWjwD4xuSEiku15SDflZ9PBoo1q0SkCnhQbDPql_atk9R3bcfuKbkNCBJi9AbJXwPT37hjtevVOTXuGkjD9AlhrilDEay03rBKKi0q9PEzIJ6lLbxRui-GHO5cu6hpgBc2gxtGDad0W6akHuzXke33x1348mYxd1rA_vOfw/s1600/scholarship-wing-logo.png

This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Tuesday, October 25, 2022

Mehraj U Din Mir

 Mehraj u Din Mir

Mehraj-U-Din-Mir


--> my self Mehraj-U-Din-Mir i am a professional student i have completed BCA in 2016
and i also MCA in Islamia College affliated to University of kashmir

personal details:
Name: Mehraj U Din MIr
parentage: Farooq Ahmad Mir
email : meermehraj25@gmail.com
Address : Ganderbal
State: J&K
country : India


education :
BCA : 2016 from Government Degree College Ganderbal

MCA : 2022 from islamia college of science and commerce hawal srinagar 


Skills:
All bacic knowledge of Computer Science
Backend Skills : Python , JAVA, JS
API's on which i have worked out: GRAPHENE with GRAPHQL

Framework on which i am working on : Django 

Backend skills : HTML , CSS , Js


Passion:
I LOVE TO TEACH AND CODE

                                                                        Youtube

THANK YOU

GUI calculator full source code -java

 GUI calculator full source code -java

gui-calcultor-in-java




you need full code hyy just click here

Sunday, August 28, 2022

first program on java

 

first-program-on-java


first program on java

public class First
{
public static void main(String[] args)
{
System.out.println("Hello java");
}
}

letus expand this

1. public class First

            public: it is access  specifier which tells us it is public and can be used anywhere inside or outside the package.

            class: it is actually keyword and class must start with this keyword

            First: class name or simply an identifier which is used to name the class
            Note: cass name should start with Capitel Letter.
            note: program has only one public class rest all are just deault class

2. public static void main(String[] args)

                public: it is access  specifier which tells us it is public and can be used anywhere inside or outside the package.

                static: which is used to allocate memory at compile time and also it represents whole class not as simple object.

                void: return type and void means return type is nothing.

                main: it is simply class name

                string [] args: array of string type
        note: every program has just one main method other are just to shape the program and our execuition starts form main method.

3. System.out.println("Hello java")

                System: is just a class.it is decleared as final.
                out: is an instance of the System class and is of type PrintStream
                  Println or print : is actally a method of PrintStream Class which is used to print thing that we are in need.
                note: our class has as many as these types of print messeges.

            
 

steps to install jdk

 

steps-to-install-jdk-in-java



DK Installation Instruction Notation for Windows

For any text in this document that contains the following notation, you must substitute the appropriate update version number:

interim.update.patch

For example, if you are downloading the JDK installer for 64-bit systems for update 13 Interim 0, Update 0, and Patch 0, then the file name jdk-13.interim.update.patch_windows-x64_bin.exe becomes jdk-13_windows-x64_bin.exe.

JDK Installation Instructions for Windows

You run a self-installing executable file to unpack and install the JDK on Windows computers.

Install JDK on Windows computers by performing the actions described in the following topics:

Downloading the JDK Installer

Access Java SE Downloads page and click Accept License Agreement. Under the Download menu, click the Download link that corresponds to the .exe for your version of Windows.

Download the file jdk-13.interim.update.patch_windows-x64_bin.exe.

Note:

Verify the successful completion of file download by comparing the file size on the download page and your local drive. Alternatively, you can ensure that the downloaded file's checksum matches the one provided on the Java SE Downloads page.

Running the JDK Installer

You must have administrator privilege to install the JDK on Microsoft Windows.

To run the JDK installer:

  1. Start the JDK 13 installer by double-clicking the installer's icon or file name in the download location.
  2. Follow the instructions provided by the Installation wizard.
  3. After the installation is complete, delete the downloaded file to recover the disk space.

Installing the JDK Silently

Instead of double-clicking or opening the JDK installer, you can perform a silent, non interactive, JDK installation by using command-line arguments.

Install JDK in silent mode using the command:

Copyjdk.exe /s

Note:

The notation jdk stands for the downloaded installer file base name, such as jdk-13_windows-x64_bin.exe.

Setting the PATH Environment Variable

It is useful to set the PATH variable permanently for JDK 13 so that it is persistent after rebooting.

If you do not set the PATH variable, then you must specify the full path to the executable file every time that you run it. For example:

Copy C:\> "C:\Program Files\Java\jdk-13\bin\javac" MyClass.java

To set the PATH variable permanently, add the full path of the jdk-13\bin directory to the PATH variable. Typically, the full path is:

Copy C:\Program Files\Java\jdk-13\bin

To set the PATH variable on Microsoft Windows:

  1. Select Control Panel and then System.
  2. Click Advanced and then Environment Variables.
  3. Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.

Note:

The PATH environment variable is a series of directories separated by semicolons (;) and is not case-sensitive. Microsoft Windows looks for programs in the PATH directories in order, from left to right.

You should only have one bin directory for a JDK in the path at a time. Those following the first instance are ignored.

If you are not sure where to add the JDK path, append it.

The new path takes effect in each new command window that you open after setting the PATH variable.

The following is a typical value for the PATH variable:

CopyC:\WINDOWS\system32;C:\WINDOWS;"C:\Program Files\Java\jdk-13\bin"

Beginning to Use the JDK

Use the Java Development Kit in the Windows Start menu to access information related to Reference Documentation.

During JDK install, Java menu items are added to the Windows Start menu to provide easy access to Reference Documentation, which is online documentation web page.

During JDK installation and uninstallation processes, the appropriate start menu items are updated so that they are associated with the latest JDK version on the system

Note:

The Windows 7 and Windows 10 have a Start menu; however, the menu is not available in Windows 8 and Windows 8.1. The JDK and Java information in Windows 8 and Windows 8.1 is available in the following Start directory: %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs.

Uninstalling the JDK on Windows

To uninstall JDK 13, use the Add/Remove Programs utility in the Microsoft Windows Control Panel.

JDK Installation Troubleshooting

The following sections provide tips for resolving issues, if any, while installing JDK.

System Error During Decompression

If you see the error message: system error during decompression, then there might not be enough space on the disk that contains the TEMP directory.

Program Cannot Be Run in DOS Mode

If you see the error message: This program cannot be run in DOS mode, then do the following:

  1. Open the MS-DOS shell or command prompt window.
  2. Right-click the title bar.
  3. Select Properties.
  4. Select the Program tab.
  5. Click Advanced.
  6. Ensure that the item Prevent MS-DOS-based programs from detecting Windows is not selected.
  7. Select OK.
  8. Select OK again.
  9. Exit the MS-DOS shell.
  10. Restart your computer.

Characters That Are Not Part of the System Code Page

A 1722 error may occur if the installation directory is not part of the system locale's code page. To prevent this, ensure that the user and system locales are identical, and that the installation path contains only characters that are part of the system locale's code page. User and system locales can be set in the Regional Options or Regional Settings control panel.

jdk jre jvm - JAVA


jdk-jre-jvm


 jdk jre jvm

JDK:-

        Java Development kit.

       Jdk is a software development environment used to develop standalone and web applet applications.

       It has physical existence and

The JDK contains a private Java Virtual Machine (JVM) and a few other resources such as an interpreter/loader (java), a compiler (javac), an archiver (jar), a documentation generator (Javadoc), etc. to complete the development of a Java Application.

Commands or tools of JDK

       Javac : used to compile source and will generate a .class file( or simply byte code)of same name which you have used to save program file if program doesn’t have any error

       Java : after have .class file(byte code) java command of jdk will interpret the .class file to machine understandable format and will produce an output that we have supposed to print.

       Javah : header file

       Applet viewer : used for executing applet program

Javadoc and manymore

jdk-jre-jvm

JRE:-

       Java Runtime Environment.

       These are some set of software tolls used for developing java applications.

       Used to provide runtime environment.

       As per cloud it is PAAS

       It is the implementation of JVM

       It has physical existence.

jdk-jre-jvm

JVM:-

       JVM (Java Virtual Machine) is an abstract machine.

        It is called a virtual machine because it doesn't physically exist.

        It is a specification that provides a runtime environment in which Java bytecode can be executed.

       It can also run those programs which are written in other languages and compiled to Java bytecode.

       Loads code

       Verifies code

       Executes code

       Provides runtime environment

Thursday, August 25, 2022

introduction to java- Java

introduction to java

 


 java is an object oriented programming language. it forms the base of OOP concept and also it gives birth of new UI world. Generally if we want to g through the other OOP languages then we must know about JAVA as it is reliable verstile and rubust language. In nutshell i want to say that java is just an awesome language if you want to learn JAVA full series lecture with simple, best explained code snippt the do visit on my youtube channel that is Exam Tasks

Java is an object oriented programming language but it strictly OOPL because of some primitive datatypes as of we can not create there objects that is why it is neither true not pure OOPL rather is strictly OOPL

it satisfies all the concepts and all building blocks of OOPL;

 1. Abastraction

2. Polymorphism.

3. Inheretance

4. Encapsulation

In 1990 james gosling (“ he was working in famous org. Sun Microsystem”).

He just decide to make a programming language that will help to design software for electronic devices(like car,tvs etc)

There were more two people present in this namely Mike Sheridan, and Patrick Naughton

They take the theme of c/c++ they increase some features and some have been decreased

In 1991 they introduce a language and they name it as OAK(“ based on famous or we can say national tree”)

In 1992 the team was known as GREEN TEAM and it was given by Sun Microsystem .

1993 they decide for the creation of web applets and it make graphical rich interface which was quite changeable to and highly customizable

1994 team developed java HotJAVA. Which is used to run applet program.

1995 the name has changed from OAK to JAVA.

1996 sun developed first java version JDK 1.0

1997 sun released on more version of java jdk 1.1

1999 sun releases 2 standard Edition (J2SE)  and Enterprise Edition (J2EE)

HotJava:- Hot java is a web browser or a web extension that is  been used to run the applet program and enables us to display web content. It is like a standalone application written in java 



Monday, October 11, 2021

Stacks Using Linked list Data structures using C++

 //**************** stack implimentation using linked lists************//
#include<iostream>
using namespace std;
class stack
{
public:
int data;
stack* link;
stack(int d)
{
data=d;
link=NULL;
}
};
void display(stack* &top)
{
stack* temp=top;
temp=top;
while(temp->data!=NULL)
{
cout<<temp->data<<"<--";
temp=temp->link;
}
cout<<endl;
} void pop(stack* &top)
{
stack*temp=top;
temp=top;
if(top==NULL)
{
cout<<"Cant b poped"<<endl;
}
else
{
temp=top;
top=top->link;
cout<<temp->data<<"poped";
delete temp;
}
cout<<"poped"<<endl;
display(top);
}
void push(stack* &top)
{
int data;
cout<<"Enter the data into stack"<<endl;
cin>>data;
stack* n=new stack(data);
if(top==NULL)
{
top=n;
}
else
{
n->link=top;
top=n;
cout<<data<<" pushed to stack"<<endl;
}
}
void peek(stack* & top)
{
if(top==NULL)
{
cout<<" top is empty"<<endl;
}
else
{
cout<<top->data<<":is peak element "<<endl;
}
display(top);
}
int main()
{
stack*top=NULL;
int ch;
do
{

cout<<"Enter your choicce"<<endl;
cout<<"\n 1=push \n 2= pop \n 3= peek \n 4= display"<<endl;
cin>>ch;
switch(ch)
{
case 1:
push(top);
break;

case 2:
pop(top);
break;
case 3:
peek(top);
break;
case 4:
display(top);
break;
}
cout<<"MAIn: press 1 to cntinue"<<endl;
cin>>ch;
}while(ch==1);
return 0;
}