Пікірлер
@swarajpawar9613
@swarajpawar9613 6 күн бұрын
Q2. Develop a simple jsp application to display value. <h2>JSP Implicit Objects Demonstration</h2> <h3>Request Object</h3> <p>This request method is: <%= request.getMethod() %></p> <h3>Response Object</h3> <p>Response content type: <%= response.getContentType() %></p> <h3>Session Object</h3> <% String sessionId = session.getId(); session.setAttribute("user", "John Doe"); %> <p>Session ID: <%= sessionId %></p> <p>User in session: <%= session.getAttribute("user") %></p> <h3>Application Object</h3> <% application.setAttribute("appName", "JSP Demo Application"); %> <p>Application Name: <%= application.getAttribute("appName") %></p> <h3>Additional Information</h3> <p>Server Info: <%= application.getServerInfo() %></p> <p>Servlet Context Path: <%= application.getContextPath() %></p>
@OmkarChavan-ne5to
@OmkarChavan-ne5to 6 күн бұрын
Hi
@user93-h2w
@user93-h2w 14 күн бұрын
C# workinh with asp Source Code: using System.Text; namespace practicle1a { class Program { static void Main(string[] args) { int no1, no2, no3, no4, product; Console.WriteLine("Enter Four No : "); no1 = Convert.ToInt32(Console.ReadLine()); no2 = Convert.ToInt32(Console.ReadLine()); no3 = Convert.ToInt32(Console.ReadLine()); no4 = Convert.ToInt32(Console.ReadLine()); product = no1 * no2 * no3 * no4; Console.WriteLine("Product of Given No = " + product); Console.ReadLine(); } } }
@user93-h2w
@user93-h2w 14 күн бұрын
String function/operation using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace String_Operations { class Program { static void Main(string[] args) { string firstname; string lastname; firstname = "Steven Clark"; lastname = "Clark"; Console.WriteLine(firstname.Clone()); Console.WriteLine(firstname.CompareTo(lastname)); Console.WriteLine(firstname.Contains("ven")); Console.WriteLine(firstname.EndsWith("n")); Console.WriteLine(firstname.Equals(lastname)); Console.WriteLine(firstname.GetType()); Console.WriteLine(firstname.IndexOf("e")); Console.WriteLine(firstname.ToLower()); Console.WriteLine(firstname.ToUpper()); Console.WriteLine(firstname.Insert(0, "Hello ")); Console.WriteLine(firstname.LastIndexOf("e")); Console.WriteLine(firstname.Length); Console.WriteLine(firstname.Remove(5)); Console.WriteLine(firstname.Replace('e','i')); Console.WriteLine(firstname.Substring(2, 5)); Console.WriteLine(firstname.ToCharArray()); Console.WriteLine(firstname.Trim()); Console.ReadLine(); } } }
@user93-h2w
@user93-h2w 14 күн бұрын
Fibonacci series: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Fibonacci { class Program { public static int Fibonaci(int n) { int a = 0; int b = 1; for (int i = 0; i < n; i++) { int temp = a; a = b; b = temp + b; } return a; } static void Main(string[] args) { Console.WriteLine("Enter a number"); int n = Int16.Parse(Console.ReadLine()); Console.WriteLine("Fibonacci series is:"); for (int i = 0; i < n; i++) { Console.WriteLine(Fibonaci(i)); } Console.ReadLine(); } } }
@user93-h2w
@user93-h2w 14 күн бұрын
Temperature Conversion namespace TemperatureConversion { class Program { static void Main(string[] args) { Console.Write("Enter Fahrenheit temperature : "); double fahrenheit = Convert.ToDouble(Console.ReadLine()); double celsius = (fahrenheit - 32) * 5 / 9; Console.WriteLine("The converted Fahrenheit to Celsius temperature is : " + celsius); Console.WriteLine(" "); Console.Write("Enter Celsius temperature : "); celsius = Convert.ToDouble(Console.ReadLine()); fahrenheit = (celsius*9) /5 +32; Console.WriteLine("The converted Celsius to Fahrenheit temperature is : " + fahrenheit ); Console.ReadLine(); } } }
@user93-h2w
@user93-h2w 14 күн бұрын
Factorial of a Number namespace Factorial { class Program { static void Main(string[] args) { int i, number, fact; Console.WriteLine("Enter the Number"); number = int.Parse(Console.ReadLine()); fact = 1 ; for (i=1 ; i < = number ; i++ ) { fact = fact * i; } Console.WriteLine(" Factorial of Given Number is: " + fact); Console.ReadLine(); } } }
@user93-h2w
@user93-h2w 15 күн бұрын
Fibonacci series: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Fibonacci { class Program { public static int Fibonaci(int n) { int a = 0; int b = 1; for (int i = 0; i < n; i++) { int temp = a; a = b; b = temp + b; } return a; } static void Main(string[] args) { Console.WriteLine("Enter a number"); int n = Int16.Parse(Console.ReadLine()); Console.WriteLine("Fibonacci series is:"); for (int i = 0; i < n; i++) { Console.WriteLine(Fibonaci(i)); } Console.ReadLine(); } } }
@user93-h2w
@user93-h2w 15 күн бұрын
Temperature Conversion namespace TemperatureConversion { class Program { static void Main(string[] args) { Console.Write("Enter Fahrenheit temperature : "); double fahrenheit = Convert.ToDouble(Console.ReadLine()); double celsius = (fahrenheit - 32) * 5 / 9; Console.WriteLine("The converted Fahrenheit to Celsius temperature is : " + celsius); Console.WriteLine(" "); Console.Write("Enter Celsius temperature : "); celsius = Convert.ToDouble(Console.ReadLine()); fahrenheit = (celsius*9) /5 +32; Console.WriteLine("The converted Celsius to Fahrenheit temperature is : " + fahrenheit ); Console.ReadLine(); } } }
@user93-h2w
@user93-h2w 15 күн бұрын
Factorial of a Number namespace Factorial { class Program { static void Main(string[] args) { int i, number, fact; Console.WriteLine("Enter the Number"); number = int.Parse(Console.ReadLine()); fact = 1 ; for (i=1 ; i < = number ; i++ ) { fact = fact * i; } Console.WriteLine(" Factorial of Given Number is: " + fact); Console.ReadLine(); } } }
@rushikeshgamre4786
@rushikeshgamre4786 Ай бұрын
Mitra te dhaav aai aai wala tumchya song che video pn taka na channel la
@RajDipakSawant
@RajDipakSawant Ай бұрын
Taknar taknar te pn yeil bro lavkar ch
@vaibhavphondekar4820
@vaibhavphondekar4820 Ай бұрын
@ranjanaNaskar-ht7lx
@ranjanaNaskar-ht7lx 2 ай бұрын
🎉🎉🎉🎉🎉
@nileshsalaskar1147
@nileshsalaskar1147 2 ай бұрын
खूप सुंदर वाजवलात भावांनो 👌👌
@nileshsalaskar1147
@nileshsalaskar1147 3 ай бұрын
एकदम कदक भावना एक नंबर वाजलत
@HarshadJoshi-x3k
@HarshadJoshi-x3k 3 ай бұрын
Nice 😅😅
@RajDipakSawant
@RajDipakSawant 2 ай бұрын
Thanks 😅
@prathameshshirgaonkar3507
@prathameshshirgaonkar3507 6 ай бұрын
Contact no. Milel ka beats valyancha
@RajDipakSawant
@RajDipakSawant 6 ай бұрын
video chya description madhe pn ahe contact number tithun ghe bhau
@sidhantpawar2357
@sidhantpawar2357 7 ай бұрын
#include <iostream.h> #include <conio.h> #include <graphics.h> void main () { int gd=DETECT,gm,s; initgraph(&gd,&gm,(char*)"//TURBOC3//BGI"); int x1=200,y1=150,x2=300,y2=250; int tx=50,ty=50; cout<<"Rectangle before translation"<<endl; setcolor(3); rectangle(x1,y1,x2,y2); setcolor(4); cout<<"Rectangle after translation"<<endl; rectangle(x1+tx,y1+ty,x2+tx,y2+ty); getch(); }
@sidhantpawar2357
@sidhantpawar2357 7 ай бұрын
#include <iostream.h> #include <conio.h> #include <graphics.h> void main () { int gd=DETECT,gm,s; initgraph(&gd,&gm,(char*)"//TURBOC3//BGI"); int x1=200,y1=150,x2=300,y2=250; int tx=50,ty=50; cout<<"Rectangle before translation"<<endl; setcolor(3); rectangle(x1,y1,x2,y2); setcolor(4); cout<<"Rectangle after translation"<<endl; rectangle(x1+tx,y1+ty,x2+tx,y2+ty); getch(); }
@sidhantpawar2357
@sidhantpawar2357 7 ай бұрын
#include<graphics.h> #include<conio.h> #include<stdio.h> void main() { int gd = DETECT ,gm, i; float x, y,dx,dy,steps; int x0, x1, y0, y1; initgraph(&gd, &gm, "C:\\TC\\BGI"); setbkcolor(WHITE); x0 = 100 , y0 = 200, x1 = 500, y1 = 300; dx = (float)(x1 - x0); dy = (float)(y1 - y0); if(dx>=dy) { steps = dx; } else { steps = dy; } dx = dx/steps; dy = dy/steps; x = x0; y = y0; i = 1; while(i<= steps) { putpixel(x, y, RED); x += dx; y += dy; i=i+1; } getch(); closegraph(); }
@sidhantpawar2357
@sidhantpawar2357 7 ай бұрын
#include <iostream.h> #include <conio.h> #include <graphics.h> void main () { int gd=DETECT,gm,s; initgraph(&gd,&gm,(char*)"//TURBOC3//BGI"); int x1=200,y1=300,x2=500,y2=300,x3=350,y3=400; cout<<"triangle before reflection"<<endl; setcolor(3); line(x1,y1,x2,y2); line(x1,y1,x3,y3); line(x2,y2,x3,y3); cout<<"triangle after reflection"<<endl; setcolor(5); line(x1,-y1+500,x2,-y2+500); line(x1,-y1+500,x3,-y3+500); line(x2,-y2+500,x3,-y3+500); getch(); }
@mahadevpalkar4795
@mahadevpalkar4795 7 ай бұрын
एकदम कडक भावानो मनात भरले
@RajDipakSawant
@RajDipakSawant 7 ай бұрын
Thankyou ♥️
@kuch_B123.
@kuch_B123. 7 ай бұрын
b. Design a java code to swing the bouncing balls. Code: import java.awt.*; import java.awt.event.*; class Bouncing_Balls extends Frame implements MouseListener { int x = 40, y = 40, t1 = 1, t2 = 1; int x1 = 200, y1 = 40, t12 = 1, t22 = 1; int x2 = 100, y2 = 100, t13 = 1, t23 = 1; Thread th; Bouncing_Balls() { setSize(700, 800); setVisible(true); th = new Thread(new Thread() { public void run() { while (true) { x = x + t1; y = y + t2; x1 = x1 + t12; y1 = y1 + t22; x2 = x2 - t13; y2 = y2 - t23; if (x < 0 || x > 680) t1 = t1 * (-1); if (y < 20 || y > 780) t2 = t2 * (-1); if (x1 < 0 || x1 > 680) t12 = t12 * (-1); if (y1 < 20 || y1 > 780) t22 = t22 * (-1); if (x2 < 0 || x2 > 680) t13 = t13 * (-1); if (y2 < 20 || y2 > 780) t23 = t23 * (-1); try { this.sleep(5); } catch (Exception E) { } repaint(); } } }}; addMouseListener(this); } public void mouseClicked(MouseEvent M) { th.start(); } public void mousePressed(MouseEvent M) {} public void mouseReleased(MouseEvent M) {} public void mouseEntered(MouseEvent M) {} public void mouseExited(MouseEvent M) {} public void paint(Graphics g) { g.setColor(Color.pink); g.fillOval(x, y, 40, 40); g.setColor(Color.pink); g.fillOval(x1, y1, 40, 40); g.setColor(Color.pink); g.fillOval(x2, y2, 40, 40); } public static void main(String[] args) { Bouncing_Balls B = new Bouncing_Balls(); } }
@kuch_B123.
@kuch_B123. 7 ай бұрын
a. Edit the java page to save and close window. Code: import java.awt.*; import javax.swing.*; import java.io.*; import java.awt.event.*; import javax.swing.plaf.metal.*; import javax.swing.text.*; class editor extends JFrame implements ActionListener { JTextArea t; JFrame f; editor() { f = new JFrame("editor"); t = new JTextArea(); JMenuBar mb = new JMenuBar(); JMenu m1 = new JMenu("File"); JMenuItem mi1 = new JMenuItem("New"); JMenuItem mi2 = new JMenuItem("Open"); JMenuItem mi3 = new JMenuItem("Save"); // Add action listener mi1.addActionListener(this); mi2.addActionListener(this); mi3.addActionListener(this); m1.add(mi1); m1.add(mi2); m1.add(mi3); JMenuItem mc = new JMenuItem("close"); mc.addActionListener(this); mb.add(m1); mb.add(mc); f.setJMenuBar(mb); f.add(t); f.setSize(500, 500); f.show(); } public void actionPerformed(ActionEvent e) { String s = e.getActionCommand(); if (s.equals("Save")) { JFileChooser j = new JFileChooser("f:"); int r = j.showSaveDialog(null); if (r == JFileChooser.APPROVE_OPTION) { File fi = new File(j.getSelectedFile().getAbsolutePath()); try { FileWriter wr = new FileWriter(fi, false); BufferedWriter w = new BufferedWriter(wr); w.write(t.getText()); w.flush(); w.close(); } catch (Exception evt) { JOptionPane.showMessageDialog(f, evt.getMessage()); } } else JOptionPane.showMessageDialog(f, "the user cancelled the operation"); } else if (s.equals("Open")) { JFileChooser j = new JFileChooser("f:"); int r = j.showOpenDialog(null); if (r == JFileChooser.APPROVE_OPTION) { File fi = new File(j.getSelectedFile().getAbsolutePath()); try { String s1 = "", sl = ""; FileReader fr = new FileReader(fi); BufferedReader br = new BufferedReader(fr); sl = br.readLine(); while ((s1 = br.readLine()) != null) { sl = sl + " " + s1; } t.setText(sl); } catch (Exception evt) { JOptionPane.showMessageDialog(f, evt.getMessage()); } } else operation"); } else if (s.equals("New")) { t.setText(""); } else if (s.equals("close")) { f.setVisible(false); } } public static void main(String args[]) { editor e = new editor(); } }
@sidhantpawar2357
@sidhantpawar2357 7 ай бұрын
Write a java program to implement method overriding Code: class Animal { public void displayInfo() { System.out.println("I am an animal."); } } class Dog extends Animal { @Override public void displayInfo() { System.out.println("I am a dog."); } } class Main { public static void main(String[] args) { Dog d1 = new Dog(); d1.displayInfo(); } }
@sidhantpawar2357
@sidhantpawar2357 7 ай бұрын
Find the smallest and largest element from the array Code: public class MinMaxArray { public static void main(String[] args) { int[] array = {10, 4, 7, 1, 15, 3, 9, 12}; // Sample array // Finding the smallest and largest elements int smallest = array[0]; int largest = array[0]; for (int i = 1; i < array.length; i++) { if (array[i] < smallest) { smallest = array[i]; } if (array[i] > largest) { largest = array[i]; } } System.out.println("Smallest element: " + smallest); System.out.println("Largest element: " + largest); } }
@kuch_B123.
@kuch_B123. 7 ай бұрын
b. Design awt page for choose color. code: import javax.swing.*; import java.awt.*; import java.awt.event.*; public class ColorChooserExample extends JFrame implements ActionListener{ JFrame f; JButton b; JTextArea ta; ColorChooserExample(){ f=new JFrame("Color Chooser Example."); b=new JButton("Pad Color"); b.setBounds(200,250,100,30); ta=new JTextArea(); ta.setBounds(10,10,300,200); b.addActionListener(this); f.add(b);f.add(ta); f.setLayout(null); f.setSize(400,400); f.setVisible(true); } public void actionPerformed(ActionEvent e){ Color c=JColorChooser.showDialog(this,"Choose",Color.CYAN); ta.setBackground(c); } public static void main(String[] args) { new ColorChooserExample(); } }
@kuch_B123.
@kuch_B123. 7 ай бұрын
a. Design awt page for choose colour by click . Code: import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JTextField; public class ColorChangeApp implements ActionListener { JFrame f; JTextField tf; public static void main(String[] args) { new ColorChangeApp(); } public ColorChangeApp() { f = new JFrame("Change colors by button click!"); JButton b = new JButton("Click Me!"); b.setBounds(50, 50, 100, 20); b.addActionListener(this); tf = new JTextField(); tf.setBounds(200, 50, 100, 20); f.add(b); f.add(tf); f.setSize(500, 500); f.setLayout(null); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.setVisible(true);} @Override public void actionPerformed(ActionEvent e) { int r = (int) (Math.random() * 256); int g = (int) (Math.random() * 256); int b = (int) (Math.random() * 256); Color c = new Color(r, g, b); f.getContentPane().setBackground(c); tf.setText("RGB: " + r + ", " + g + ", " + b); } }
@sidhantpawar2357
@sidhantpawar2357 7 ай бұрын
Write a Java program to display the following pattern. ***** **** *** ** * Code: class DecreasingPattern { public static void main(String[] args) { int rows = 5; for (int i = rows; i >= 1; --i) { for (int j = 1; j <= i; ++j) { System.out.print("*"); } System.out.println(); } }
@sidhantpawar2357
@sidhantpawar2357 7 ай бұрын
Write a java program to implement single level inheritance. Code: class A { public void display() { System.out.println("I am a method from class A"); } } class B extends A { public void print() { System.out.println("I am a method from class B"); } public static void main(String[] args) { B objB = new B(); objB.display(); objB.print(); } }
@sidhantpawar2357
@sidhantpawar2357 7 ай бұрын
Write a java program to demonstrate the implementation of abstract class. Code: abstract class Language { public void display() { System.out.println("This is Java Programming"); } } class Main extends Language { public static void main(String[] args) { Main obj = new Main(); obj.display(); } }
@sidhantpawar2357
@sidhantpawar2357 7 ай бұрын
Designed a class that demonstrates the use of constructor and destructor. Code: public class MyClass { private int value; public MyClass(int value) { this.value = value; System.out.println("Object created with value: " + value); } public int getValue() { return value; } public static void main(String[] args) { MyClass obj = new MyClass(10); System.out.println("Value of obj: " + obj.getValue()); } }
@kushalmhatre1841
@kushalmhatre1841 7 ай бұрын
Send number
@gauravraj1189
@gauravraj1189 8 ай бұрын
Price kitna liya tha bro
@RajDipakSawant
@RajDipakSawant 8 ай бұрын
Price something 300 ke around hain
@anujgavkar
@anujgavkar 8 ай бұрын
एगदम कडक भावानो नंबर सेंड करा
@anujgavkar
@anujgavkar 8 ай бұрын
एगदम कडक भावानो नंबर सेंड करा
@RajDipakSawant
@RajDipakSawant 8 ай бұрын
Thank you भाऊ ❤️ नं तुम्हाला व्हिडिओ च्या description मध्ये मिळेल तिथून घ्या
@manojkadam4150
@manojkadam4150 8 ай бұрын
कडक भावानो 👌🏽🎊
@RajDipakSawant
@RajDipakSawant 8 ай бұрын
Thank you ❤️
@HarshadJoshi-x3k
@HarshadJoshi-x3k 8 ай бұрын
Nice 😅😅
@RajDipakSawant
@RajDipakSawant 8 ай бұрын
Thanks
@ovikoli7234
@ovikoli7234 8 ай бұрын
Tumcha contact number pathva
@RajDipakSawant
@RajDipakSawant 8 ай бұрын
Contact number video chya discription madhe ahe tithun milel tumhala
@nileshsalaskar1147
@nileshsalaskar1147 8 ай бұрын
खूप सुंदर वाजवलात भावांनो
@RajDipakSawant
@RajDipakSawant 8 ай бұрын
Thank you❤️
@darshanaghanekar640
@darshanaghanekar640 7 ай бұрын
P0000😊p😊😊
@darshanaghanekar640
@darshanaghanekar640 7 ай бұрын
P0000😊p😊😊
@darshanaghanekar640
@darshanaghanekar640 7 ай бұрын
1want
@nileshmore4654
@nileshmore4654 8 ай бұрын
खुप सुंदर
@RajDipakSawant
@RajDipakSawant 8 ай бұрын
Thank u ❤️
@SwatiVedpathak-g9t
@SwatiVedpathak-g9t 8 ай бұрын
👍👍
@RajDipakSawant
@RajDipakSawant 8 ай бұрын
Thanks ❤️
@sanketmhatre5029
@sanketmhatre5029 8 ай бұрын
niceeeeeeeeeeee
@RajDipakSawant
@RajDipakSawant 8 ай бұрын
Thanks ❤️
@pawankamble211
@pawankamble211 9 ай бұрын
🔥🔥🔥
@pareshruke7982
@pareshruke7982 9 ай бұрын
Thanks!
@RajDipakSawant
@RajDipakSawant 9 ай бұрын
Welcome!
@bhatukapadane2661
@bhatukapadane2661 9 ай бұрын
AK nambar❤❤❤❤
@RajDipakSawant
@RajDipakSawant 9 ай бұрын
Thanku sir ♥️
@shalabaigurakhe6694
@shalabaigurakhe6694 9 ай бұрын
❤❤❤❤
@RajDipakSawant
@RajDipakSawant 8 ай бұрын
❤️❤️
@BanjoWarnacha
@BanjoWarnacha 9 ай бұрын
Khup chan video bhava full support ❤
@RajDipakSawant
@RajDipakSawant 9 ай бұрын
Thanku bhau ♥️
@swapnilkhedekar346
@swapnilkhedekar346 9 ай бұрын
🔥🔥🔥🔥
@RajDipakSawant
@RajDipakSawant 9 ай бұрын
Thanx bro ♥️
@dattaramyedre2787
@dattaramyedre2787 10 ай бұрын
Superb
@RajDipakSawant
@RajDipakSawant 10 ай бұрын
Thanxx ♥️