Skip to content

Instantly share code, notes, and snippets.

Meriç BERBER MericBERBER

View GitHub Profile
View ArrayModelBinder.cs
public class ArrayModelBinder : IModelBinder
{
public ArrayModelBinder()
{
}
public Task BindModelAsync(ModelBindingContext bindingContext)
{
View bubbleSort.java
public class BubbleSort {
public static void main(String[] args) {
int number[] = {70, 60,40, 90, 10, 20, 80, 30, 50};
bubble_sort(number);
}
public static void bubble_sort(int[] input) {
for(int i=0; i<input.length-1;i++) {
View microLab5v1.asm
org 100h
GO:
call RANDOM_NUMBER
call TIME_CHECKT
cmp intsecT, 1
je NoTimeLeft
call TIME_INCT
View microLab3v2.asm
org 100h
LEA SI, STR
MOV DX, 2000h
MOV ES, DX
MOV CL, 10 ; 10 ELEMAN VAR
MOV BP, 0
LOOP1:
MOV SI, BP
MOV AL, STR[SI]
PUSH CX
View microLab3v2.asm
org 100h
LEA SI, STR
MOV DX, 2000h
MOV ES, DX
MOV CL, 10 ; 10 ELEMAN VAR
MOV BP, 0
LOOP1:
MOV SI, BP
MOV AL, STR[SI]
PUSH CX
View microLab3v2.asm
org 100h
LEA SI, STR
MOV DX, 2000h
MOV ES, DX
MOV CL, 10 ; 10 ELEMAN VAR
MOV BP, 0
LOOP1:
MOV SI, BP
MOV AL, STR[SI]
PUSH CX
View microLab3.asm
org 100h
LEA SI, STR
MOV CL, 10 ; 10 ELEMAN VAR
MOV BP, 0
LOOP1:
MOV SI, BP
MOV AL, STR[SI]
PUSH CX
LOOP2:
View TestSuperKeyword.java
// Base Class
class Parent
{
void show()
{
System.out.println("Parent's show()");
}
}
// Inherited class
View StaticOverrideTest.java
// Superclass
class Base {
// Subclassta saklanacak static metod.
public static void display() {
System.out.println("Static or class method from Base");
}
// Subclassta override edilecek non-static metod.
View StaticOverride.java
// Superclass
class Base {
// Subclassta gizli kalacak static metod.
public static void display() {
System.out.println("Base class icerisindeki static metod.");
}
// Subclassta override edilecek non-static metod.
You can’t perform that action at this time.